package com.github.itdachen.framework.context.annotation;

import com.github.itdachen.framework.context.enums.PageTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description: 页面预览记录注册, 只能使用在方法上
 * Created by 剑鸣秋朔 on 2023-07-28 10:51
 * Created with IntelliJ IDEA.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface PageView {

    /**
     * 页面类型
     */
    PageTypeEnum value() default PageTypeEnum.OTHER;

    /**
     * 版本号
     */
    String version() default "v1.0";


}
